package org.pray.activity.roughfactory;

/**
 * 定义工厂具有什么属性？
 */
public class Factory {
    // 工厂有名字：
    private String name;

    // 工厂有主营业务类型
    private String type;

    public Factory(String name, String type) {
        this.name = name;
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Factory [name=" + name + ", type=" + type + "]";
    }

}
